FROM java:8
EXPOSE 8801

MAINTAINER white <litmiss@gmail.com>

VOLUME /tmp
ADD target/zhibo-admin.jar /app.jar
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java","-jar","/app.jar","--spring.profiles.active=dev"]

